package com.campus.utils;

import com.campus.pojo.po.Student;

public class StudentUtil {
    public static String sno(Student student){
        return student.getGrade().substring(student.getGrade().length() - 2)
                + String.format("%03d", student.getClassId())
                + String.format("%04d", student.getId());
    }
}
